<%--
  Created by IntelliJ IDEA.
  User: HuangLiting
  Date: 2018/5/23
  Time: 16:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<div class="topbar-wrap bg_black">
    <div class="topbar-inner clearfix">
        <h1 class="whole_title">实验排课后台管理<span>欢迎<a href="#">${sessionScope.tname}</a>, <a href="javascript:;" onclick="logout()" style="color:#ca8a87;">注销</a></span></h1>
    </div>
</div>
<script>
    function logout(){
        if(confirm("确定注销吗？")){
            window.location.href = "/logout.do";
        }
    }
</script>